package com.example.demo.dao;

import com.example.demo.pojo.Tool;
import com.example.demo.pojo.tool_Admin;
import com.example.demo.pojo.tool_User;

import com.example.demo.pojo.tool_User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Repository;

import javax.servlet.http.HttpSession;
import java.util.List;


//@Mapper
@Repository
public interface ToolUserMapper {
    tool_User findToolUser(String user_nameCode, String user_passwordCode);

    List<Tool> selectAlltool();

    List<Tool> selectBySort(String tool_sortCode);

    Tool selectByKey(String tool_id);

    int editTool(Tool tool);


}
